docs: Document more accessible roles
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 03:09:11 +0000 (23:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 03:09:11 +0000 (23:09 -0400)
GtkColumnView and its various components use a lot
of accessible roles.

gtk/gtkcolumnview.c

index bc0b1b8be51120ebae423bac3d0b36c89c708554..d6c8c58b7370d69c75b437c5d30f05bbf80187ec 100644 (file)
  * The main columnview node may also carry style classes to select
  * the style of [list presentation](ListContainers.html#list-styles):
  * .rich-list, .navigation-sidebar or .data-table.
+ *
+ * # Accessibility
+ *
+ * GtkColumnView uses the #GTK_ACCESSIBLE_ROLE_TREE_GRID role, header title
+ * widgets are using the #GTK_ACCESSIBLE_ROLE_COLUMN_HEADER role. The row widgets
+ * are using the #GTK_ACCESSIBLE_ROLE_ROW role, and individual cells are using
+ * the #GTK_ACCESSIBLE_ROLE_GRID_CELL role
  */
 
 /* We create a subclass of GtkListView for the sole purpose of overriding